#pragma once

#include <physics/Joint.h>
#include <physics/Registrator.h>

namespace physics
{

class b2Joint;

class UnknownJoint: public Joint
{
private:
	Joint *typedJoint;

protected:
	virtual bool on_attribute(xml::Provider *prov, const std::string &name, const std::string &value);
	virtual bool on_node(xml::Provider *prov, const std::string &name);

public:
	UnknownJoint(World *world);
	virtual ~UnknownJoint();
};

}